package entity.salary;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author beisheng
 * @since 2023-03-14
 */
@Getter
@Setter
@TableName("sa_attendance")
public class Attendance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "sa_id", type = IdType.AUTO)
    private Integer saId;

    /**
     * 月计薪时长
     */
    @TableField("payroll")
    private String payroll;

    /**
     * 假期计薪规则
     */
    @TableField("vacation_id")
    private Integer vacationId;

    /**
     * 加班计薪规则
     */
    @TableField("overtime_id")
    private Integer overtimeId;

    /**
     * 旷工扣款规则
     */
    @TableField("reason_id")
    private Integer reasonId;

    /**
     * 缺卡扣款规则
     */
    @TableField("lack_id")
    private Integer lackId;

    /**
     * 迟到早退扣款规则
     */
    @TableField("late_id")
    private Integer lateId;

    /**
     * 全勤奖扣款规则
     */
    @TableField("present_id")
    private Integer presentId;

    /**
     * 薪资方案id
     */
    @TableField("salaryitem_id")
    private Integer salaryitemId;


}
